﻿using Baula.TextGen.Framework.Tools;

namespace Baula.TextGen.Framework.Sections
{
    public class ContentSection : ISection
    {
        private readonly LineCollector _lineCollector = new LineCollector();

        private LineCollector LineCollector
        {
            get { return _lineCollector; }
        }

        public string Content
        {
            get { return LineCollector.ToString(); }
        }

        public void AppendLine(string line)
        {
            LineCollector.AppendAsNewLine(line);
        }
    }
}